package com.example.ssm.service;

import com.example.ssm.vo.QueryVO;
import com.example.ssm.pojo.Customer;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICustomerService
{
    public List<Customer> list();

    public PageInfo<Customer> list(QueryVO queryVO);

    /**
     * 根据id查询数据
     *
     * @param id
     * @return
     */
    Customer queryCustomerById(Long id);

    void updateCustomerById(Customer customer);

    void deleteCustomerById(Long id);
}
